package com.training.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigInteger;


/**
 * The persistent class for the emp_payroll database table.
 * 
 */
@Entity
@Table(name="emp_payroll")
public class EmpPayroll implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="emp_id")
	private String empId;

	@Column(name="bill_rate")
	private BigInteger billRate;

	@Column(name="emp_bonus")
	private short empBonus;

	@Column(name="emp_payrollcol")
	private String empPayrollcol;

	@Column(name="number_work_hous")
	private int numberWorkHous;

	@OneToOne
	@JoinColumn(name="emp_id")
	private EmpInformation employeeInformation;

	public EmpPayroll() {
	}

	public String getEmpId() {
		return this.empId;
	}

	public void setEmpId(String empId) {
		this.empId = empId;
	}

	public BigInteger getBillRate() {
		return this.billRate;
	}

	public void setBillRate(BigInteger billRate) {
		this.billRate = billRate;
	}

	public short getEmpBonus() {
		return this.empBonus;
	}

	public void setEmpBonus(short empBonus) {
		this.empBonus = empBonus;
	}

	public String getEmpPayrollcol() {
		return this.empPayrollcol;
	}

	public void setEmpPayrollcol(String empPayrollcol) {
		this.empPayrollcol = empPayrollcol;
	}

	public int getNumberWorkHous() {
		return this.numberWorkHous;
	}

	public void setNumberWorkHous(int numberWorkHous) {
		this.numberWorkHous = numberWorkHous;
	}

	public EmpInformation getEmployeeInformation() {
		return this.employeeInformation;
	}

	public void setEmployeeInformation(EmpInformation employeeInformation) {
		this.employeeInformation = employeeInformation;
	}

}